<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link href="__PUBLIC__/style/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="__PUBLIC__/js/js.js"></script>
<script type="text/javascript" src="__PUBLIC__/kindeditor/kindeditor.js"></script>
<script type="text/javascript" src="__PUBLIC__/kindeditor/lang/zh_CN.js"></script>
<link href="__PUBLIC__/kindeditor/themes/default/default.css" rel="stylesheet" type="text/css" />
</head>

<body id="page">
<h2 class="tag"> 当前位置: 网站设置 &gt; 系统设置 &gt; 核心设置</h2>
<div class="box">
<form action="__URL__/core" method="post" >
	<div class="page_menu"><a href="__URL__/index">网站信息</a><a href="__URL__/core">核心设置</a><a href="__APP__/dbback">数据库备份</a></div>
	<div class="infobox">
	  <table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table_b">
	    <tr>
	      <td width="120" align="right" class="td">调试模式：</td>
	      <td class="td">
	      	{if $config['DEBUG']}
	      	<input name="DEBUG" type="radio" id="DEBUG" value="true" checked="checked"> 开启  
	      	<input name="DEBUG" type="radio" id="DEBUG" value="false"> 关闭 
	      	{else}
	      	<input name="DEBUG" type="radio" id="DEBUG" value="true"> 开启  
	      	<input name="DEBUG" type="radio" id="DEBUG" value="false" checked="checked"> 关闭
	      	{/if} 
	      </td>
	    </tr>
	    <tr>
	      <td width="120" align="right" class="td">伪静态开关：</td>
	      <td class="td">
	      	{if $config['URL_REWRITE_ON']}
	      	<input name="URL_REWRITE_ON" type="radio" id="URL_REWRITE_ON" value="true" checked="checked"> 开启  
	      	<input name="URL_REWRITE_ON" type="radio" id="URL_REWRITE_ON" value="false"> 关闭
	      	{else}
	      	<input name="URL_REWRITE_ON" type="radio" id="URL_REWRITE_ON" value="true"> 开启  
	      	<input name="URL_REWRITE_ON" type="radio" id="URL_REWRITE_ON" value="false" checked="checked"> 关闭 
	      	{/if}
	      	<span class="sms">开启伪静态请先设置相应的伪静态规则</span>
	      </td>
	    </tr>
	    <tr>
	      <td width="120" align="right" class="td">静态缓存：</td>
	      <td class="td">
	      	{if $config['HTML_CACHE_ON']}
	      	<input name="HTML_CACHE_ON" type="radio" id="HTML_CACHE_ON" value="true" checked="checked"> 开启  
	      	<input name="HTML_CACHE_ON" type="radio" id="HTML_CACHE_ON" value="false"> 关闭
	      	{else}
	      	<input name="HTML_CACHE_ON" type="radio" id="HTML_CACHE_ON" value="true"> 开启  
	      	<input name="HTML_CACHE_ON" type="radio" id="HTML_CACHE_ON" value="false" checked="checked"> 关闭
	      	{/if} 
	      </td>
	    </tr>
	    <tr>
	      <td width="120" align="right" class="td">模板缓存：</td>
	      <td class="td">
	      	{if $config['TPL_CACHE_ON']}
	      	<input name="TPL_CACHE_ON" type="radio" id="TPL_CACHE_ON" value="true" checked="checked"> 开启  
	      	<input name="TPL_CACHE_ON" type="radio" id="TPL_CACHE_ON" value="false"> 关闭
	      	{else}
	      	<input name="TPL_CACHE_ON" type="radio" id="TPL_CACHE_ON" value="true"> 开启  
	      	<input name="TPL_CACHE_ON" type="radio" id="TPL_CACHE_ON" value="false" checked="checked"> 关闭
	      	{/if} 
	      </td>
	    </tr>
	    <tr>
	      <td width="120" align="right" class="td">数据库永久链接：</td>
	      <td class="td">
	      	{if $config['DB_PCONNECT']}
	      	<input name="DB_PCONNECT" type="radio" id="DB_PCONNECT" value="true" checked="checked"> 开启  
	      	<input name="DB_PCONNECT" type="radio" id="DB_PCONNECT" value="false"> 关闭
	      	{else}
	      	<input name="DB_PCONNECT" type="radio" id="DB_PCONNECT" value="true"> 开启  
	      	<input name="DB_PCONNECT" type="radio" id="DB_PCONNECT" value="false" checked="checked"> 关闭
	      	{/if} 
	      </td>
	    </tr>
	    <tr>
	      <td width="120" align="right" class="td">数据库缓存：</td>
	      <td class="td">
	      	{if $config['DB_CACHE_ON']}
	      	<input name="DB_CACHE_ON" type="radio" id="DB_CACHE_ON" value="true" checked="checked"> 开启  
	      	<input name="DB_CACHE_ON" type="radio" id="DB_CACHE_ON" value="false"> 关闭
	      	{else}
	      	<input name="DB_CACHE_ON" type="radio" id="DB_CACHE_ON" value="true"> 开启  
	      	<input name="DB_CACHE_ON" type="radio" id="DB_CACHE_ON" value="false" checked="checked"> 关闭 
	      	{/if}
	      </td>
	    </tr>
	    <tr>
	      <td width="120" align="right" class="td">数据库缓存时间：</td>
	      <td class="td">
	      	<input name="DB_CACHE_TIME" type="text" id="DB_CACHE_TIME" value="{$config['DB_CACHE_TIME']}" class="txtr">
	      	<span class="sms">0为不缓存,-1为永久缓存</span></td>
	    </tr>
	  </table>
	    <table width="50%" border="0" cellpadding="3" cellspacing="1">
	    <tr>
	        <td width="100" align="right" class="td"><input name="do" type="hidden" value="yes" /></td>
	      <td class="td">
	      <input name="update" type="submit" class="button" value="保存设置"></td>
	    </tr>
	  </table>
	</div>

</form>
</div>
</body>
</html>